export default {
  nodes: [
    {
      "id": 103,
      "name": "海军装备",
      "type": 100
    },
    {
      "id": 104,
      "name": "陆军装备",
      "type": 100
    },
    {
      "id": 105,
      "name": "空军装备",
      "type": 100
    },
    {
      "id": 106,
      "name": "航天侦查装备",
      "type": 100
    },
    {
      "id": 91,
      "name": "测试新增",
      "type": 101
    },
    {
      "id": 92,
      "name": "测试新增2",
      "type": 101
    },
    {
      "id": 93,
      "name": "测试新增3",
      "type": 101
    },
    {
      "id": 107,
      "name": "QT",
      "type": 101
    },
    {
      "id": 108,
      "name": "航空母舰",
      "type": 101
    },
    {
      "id": 109,
      "name": "护卫舰",
      "type": 101
    },
    {
      "id": 110,
      "name": "驱逐舰",
      "type": 101
    }
  ],
  links: [
    {
      "target": 103,
      "source": 110,
      "relation": "子类"
    },
    {
      "target": 103,
      "source": 108,
      "relation": "子类"
    },
    {
      "target": 103,
      "source": 109,
      "relation": "子类"
    },
    {
      "target": 103,
      "source": 107,
      "relation": "子类"
    },
    {
      "target": 93,
      "source": 105,
      "relation": "2子类"
    },
    {
      "target": 92,
      "source": 105,
      "relation": "子类"
    },
    {
      "target": 105,
      "source": 91,
      "relation": "子类"
    }
  ],
  nodeCategories: [],
  edgeCategories: [
    {
      type: "inv",
      field: "relation",
      name: "子类",
      color: "#CC9966",
      symbol: "solid",
      legend: true,
      label: function (item) {
        return item.relation
      }
    },
    {
      type: "inv",
      field: "relation",
      name: "QT型号",
      color: "#62D0BC",
      symbol: "solid",
      legend: true,
      label: function (item) {
        return item.relation
      }
    },
    {
      type: "inv",
      field: "relation",
      name: "舰名",
      color: "#ff9900",
      symbol: "solid",
      legend: true,
      label: function (item) {
        return item.relation
      }
    },
    {
      type: "br",
      field: "relation",
      name: "同级",
      color: "#ff99ff",
      symbol: "solid",
      legend: false
    }
    // arrowSymbol: 'none',
  ]
};
